﻿using Windows.Phone.UI.Input;
using Windows.UI.Xaml.Controls;
using BuddyTracker.ViewModel;

namespace BuddyTracker
{
    
    public sealed partial class MainPage : Page
    {
        
        public MainPage()
        {
            this.InitializeComponent();
            ((MainViewModel)DataContext).MapHelper(CurrentMap);
            HardwareButtons.BackPressed += ((MainViewModel)DataContext).BackPressedHandler;
        }
 
    }
    
}
